//
//  PersonInfo.h
//  ArchivingObjs
//
//  Created by Wang Shao-chuan on 2010/12/28.
//  Copyright 2010 National Taiwan University. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface PersonInfo : NSObject <NSCopying, NSCoding> {
	NSString *mNickename;
	NSDate *mBirthdate;
	BOOL mIsMale;
	unsigned int mAge;
}

-(NSString *) nickname;
-(void) setNickname: (NSString *) newName;
-(NSDate *) date;
-(void) setDate: (NSDate *) newDate;
-(BOOL) isMale;
-(void) setIsMale: (BOOL) isMale;
-(unsigned int) age;
-(void) setAge: (unsigned int) newAge;
-(void) clear;

@end
